home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_06
/
pugh
/
nestlp2.c
< prev
Wrap
C/C++ Source or Header
|
1994-04-04
|
482b
|
22 lines
Listing 2: Listing 1 rewritten for clarity
int main(void)
{
static int ij,ik,lt,lm;
for (ik = 0; ik < 3; ik++)
{
for (ij = 0; ij < 3; ij++)
{
printf("*%d %d*", ij, ik);
for (lt = 0; lt < 3; lt++)
{
for (lm = 0; lm < 3; lm++)
{
printf("/%d %d/", lm,lt);
}
}
}
}
}